package com.cdut.hwadeefsc.service.impl;
import jakarta.annotation.Resource;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.cdut.hwadeefsc.entity.organizations;
import com.cdut.hwadeefsc.service.organizationsService;
import com.cdut.hwadeefsc.mapper.organizationsMapper;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* @author 1
* @description 针对表【organizations(组织/部门表)】的数据库操作Service实现
* @createDate 2025-09-15 15:08:59
*/
@Service
public class organizationsServiceImpl extends ServiceImpl<organizationsMapper, organizations>
    implements organizationsService {
    @Resource
    private organizationsMapper organizationsMapper;

    @Override
    public List<organizations> get() {
        return organizationsMapper.get();
    }

    @Override
    public int create(organizations organizations) {
        return organizationsMapper.create(organizations);
    }

    @Override
    public int modify(organizations organizations) {
        return organizationsMapper.modify(organizations);

    }
}




